package cc.site.main.bean.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @CREATE By yangruomao On 2024/4/15 下午9:19
 */
@Data
public class UserVo {

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @ApiModelProperty("身份证号")
    private String cardId;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("0 超级用户，1普通用户，默认1")
    private Integer type;
}
